package com.ruoyi.project.business.askleave.request;

import java.time.LocalDateTime;
import java.time.LocalTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 请假对象 schedule_ask_leave
 * 
 * @author ${author}
 * @date 2024-04-11
 */
@Data
public class AddAskLeaveRequest {

    /** 用户ID */
    private Long userId;

    /** 假期类型 HolidayType 1: 调休 2: 年假 3: 病假 4: 事假 5: 婚假 6: 丧假 7: 产假 8: 陪产假 9:工伤假  10:产检假  11:流产假  12: 哺乳假 */
    private Integer holidayType;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTimeStart;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTimeEnd;


}
